package com.icinfo.wanandroid.core.http.api;

import com.icinfo.wanandroid.core.bean.BaseResponse;
import com.icinfo.wanandroid.core.bean.main.collect.FeedArticleListData;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Author: 胡高建
 * Comment: //TODO
 * Date: 2019-07-25 09:17
 */
public interface GeeksApis {
    String HOST = "https://www.wanandroid.com/";

    /**
     * 获取feed文章列表
     *
     * @param num 页数
     * @return feed文章列表数据
     */
    @GET("article/list/{num}/json")
    Observable<BaseResponse<FeedArticleListData>> getFeedArticleList(@Path("num") int num);
}
